<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<form id="backForm">
	<div class="backform-item required">
	<input type="hidden" value="${payback.id}" name="id">
		<label for="">学生姓名</label>
		<c:if test="${payback.id !=null }">
		<input data-options="required:true" type="text" class="easyui-textbox" name="student" value="${payback.student.name}" />
		</c:if>
		<c:if test="${payback.id ==null }">
		<select id="name" class="easyui-combobox" style="width: 200px;" name="student" data-options=" editable:false,panelHeight:'auto'">
			<c:forEach items="${backName}" var="stu">
				<option  value="${stu.tb_student_id}" ${stu.student_name == payback.student['name'] ? 'selected' :''}>${stu.student_name}</option>
			</c:forEach>
		</select>
		</c:if>
	</div>
	<div class="backform-item required">
		<label for="">退款金额</label>
		<input data-options="required:true" type="text" class="easyui-numberbox" name="money" value="${payback.money }" max="50000" min="1"/>
	</div>
	<div class="backform-item required">
		<label for="">时间</label>
		<input data-options=" editable:false,required:true"  class="easyui-datebox" name="backTime" style="width:200px;" value="${payback.backTime}">
	</div>
	
	<div class="backform-item">
		<label for="">上交就业合同</label>
		<input type="radio" name="contract" value="1"/> 是
		<input type="radio"  name="contract" value="0" checked="checked" style="margin-left:20px"/> 否
	</div>
	<div class="backform-item required" >
		<label for="" style="position:relative;bottom: 30px;">备注</label>
		<textarea data-options="multiline:true"  class="easyui-textbox" name="remark" style="border-radius:5px;width:200px;height:65px;" >${payback.remark }</textarea>
	</div>
</form>